package com.fz.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * Created by Z-C-Y on 2018-02-05.
 */
@Data
@Service
public class Book {
   @Value("1001")
    private int id;
   @Value("《java项目实战》")
    private String name;
}
